package cn.com.ddapp.ddm.util.thread;


public abstract class MyThread extends Thread {

	protected boolean stop = false;

	@Override
	public void run() {
		if (stop) {
			return;
		} else {
			run1();

		}

	}

	public void run1() {

	}

	public void setStop() {
		this.stop = true;
	}

	public void setStart() {
		this.stop = false;
	}

}
